﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GameHelper
{
    public partial class QQSender : Form
    {
        List<KeyValuePair<string, string>> qqs = null;
        public QQSender()
        {
            InitializeComponent();
            GetMyQQs();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            foreach (KeyValuePair<string, string> pair in qqs)
            {
                Common.Module.WebQQ.WebQQ qq = new Common.Module.WebQQ.WebQQ();
                string str = qq.Login(pair.Key, pair.Value);
                str.Debug();
                qq.AddFriend("401323609", "QQ群发程序，网页程序开发，游戏脚本编写，有意请联系QQ231583609");
            }


        }


        private void GetMyQQs()
        {
            qqs = new List<KeyValuePair<string, string>>();
            KeyValuePair<string, string> kp1 = new KeyValuePair<string, string>("1315828952", "1111111111");
            qqs.Add(kp1);
            //KeyValuePair<string, string> kp2 = new KeyValuePair<string, string>("1617841020", "1111111111");
            //qqs.Add(kp2);
            //KeyValuePair<string, string> kp3 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp3);
            //KeyValuePair<string, string> kp4 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp4);
            //KeyValuePair<string, string> kp5 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp5);
            //KeyValuePair<string, string> kp6 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp6);
            //KeyValuePair<string, string> kp7 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp7);
            //KeyValuePair<string, string> kp8 = new KeyValuePair<string, string>("1315828952", "1111111111");
            //qqs.Add(kp8);
        }
    }
}
